package api.rowan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 无效查询，只为了测试入参
 */

@Data
@ApiModel("请求参数")
public class Query implements Serializable {

    @ApiModelProperty(value = "参数id")
    private int id;
    @ApiModelProperty(value = "参数名字")
    private String name;
    @ApiModelProperty(value = "参数时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;

}
